package cn.basic.social.api.dingtalk.dto;

import java.io.File;
import java.io.Serializable;
import java.util.Map;

/**
 * @ClassName RequestDTO
 * @Description API请求参数包装类
 * @Author zlf
 * @Date 2023/8/25 14:00
 */
public class RequestDTO implements Serializable {

    private String requestUrl;

    private String contentType;

    private String topHttpMethod;

    private String apiCallType;

    private String format;

    private Map<String, String> textParams;

    private Map<String, String> headerMap;

    private Long timestamp;

    private Object requestBase;

    private File file;

    public String getRequestUrl() {
        return requestUrl;
    }

    public void setRequestUrl(String requestUrl) {
        this.requestUrl = requestUrl;
    }

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }

    public String getTopHttpMethod() {
        return topHttpMethod;
    }

    public void setTopHttpMethod(String topHttpMethod) {
        this.topHttpMethod = topHttpMethod;
    }

    public String getApiCallType() {
        return apiCallType;
    }

    public void setApiCallType(String apiCallType) {
        this.apiCallType = apiCallType;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public Map<String, String> getTextParams() {
        return textParams;
    }

    public void setTextParams(Map<String, String> textParams) {
        this.textParams = textParams;
    }

    public Map<String, String> getHeaderMap() {
        return headerMap;
    }

    public void setHeaderMap(Map<String, String> headerMap) {
        this.headerMap = headerMap;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public Object getRequestBase() {
        return requestBase;
    }

    public File getFile() {
        return file;
    }

    public void setFile(File file) {
        this.file = file;
    }

    public void setRequestBase(Object requestBase) {
        this.requestBase = requestBase;
    }
}
